﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FXnaWpfBase;

using NSApplication;


namespace NSPresentation
{
    /// <summary>
    /// 用于表示污染源的特大的集合，包含了sourcecollecition
    /// </summary>
    public class TvSourcesVM : MDTVIViewModel
    {

        public TvSourcesVM(MDTVIViewModel parent)
            : base(parent)
        {


            this.LoadChildren();

        }


        public override string Desc
        {
            get
            {
                return "声源集合";
            }
        }


        protected override void LoadChildren()
        {




            TvPSVM ps = new TvPSVM(this, ProjectService.CurrentService.Project.NSData.PtLayer);

            this.Children.Add(ps);


            //TVLSVM ls = new TVLSVM(this);

            //this.Children.Add(ls);


            //TvPolySVM polys = new TvPolySVM(this);

            //this.Children.Add(polys);






        }
    }
}
